<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 内嵌式 -->
    <style>
        /* css里面的注释 */
        a{
            color:lightseagreen;
        }
        div{
            width: 100px;
            height: 100px;
            background-color: lightslategray;
        }
    </style>
    <!-- 外链式 -->
    <link rel="stylesheet" href="css/main.css">
</head>
<body>
    <!-- 行内饰 -->
    <p style="color: tomato;">我是一个段落</p>
    <a href="baidu.com">百度</a>
    <div>测试</div>
    <h1>我是一级标题</h1>
</body>
</html>